from django.shortcuts import render, redirect
from django.urls import reverse


def index(request):
    return render(request,'index.html')



def logout(request):
    request.session.flush()
    return redirect(reverse('index'))